package com.dd.ms.starter.autoconfigure;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/10/20 11:10
 * @Description 类功能作用说明
 */
public class ServiceStatusChecker {

    private final String name;

    // 构造器注入配置属性
    public ServiceStatusChecker(String serviceName) {
        this.name = serviceName;
    }

    // 示例方法：检查服务状态
    public String checkStatus() {
        return "Service [" + name + "] is running";
    }
}
